package cn.edu.jsu.official.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Tieria
 * @date 2022/3/30 11:48
 * @description 返回给前端的用户信息
 */
@Document(collection = "user_info")
public class UserInfoVO {

    @Id
    @ApiModelProperty("用户账号")
    private String userAccount;

    @ApiModelProperty("用户邮箱")
    private String userEmail;

    @ApiModelProperty("用户电话")
    private String userTel;

    public UserInfoVO() {
    }

    public UserInfoVO(String userAccount, String userEmail, String userTel) {
        this.userAccount = userAccount;
        this.userEmail = userEmail;
        this.userTel = userTel;
    }

    @Override
    public String toString() {
        return "UserInfoVO{" +
                "userAccount='" + userAccount + '\'' +
                ", userEmail='" + userEmail + '\'' +
                ", userTel='" + userTel + '\'' +
                '}';
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }
}
